import React from 'react';
import { createRoot } from 'react-dom/client';
import SvgViewer from './components/SvgViewer';
import './styles/main.css';

// 获取根元素
const container = document.getElementById('root');
const root = createRoot(container);

// 渲染应用
root.render(
  <React.StrictMode>
    <SvgViewer />
  </React.StrictMode>
);